package com.lsj.dto.sys;

import com.lsj.core.validate.Add;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;

/**
 * @Author:lin.sj
 * @Data:2021/7/14 11:11
 * @Desc: 组织结构新增dto
 */
@Data
@Accessors(chain = true)
public class OrgAddDto {
    /**
     * 上级组织编码
     */
    @NotNull(message = "父级主键不能为空",groups = {Add.class})
    private Long orgPid;
}
